<div ng-controller="InfosController as infosController">
    <h3>{{fullName}}</h3>
                <div ng-repeat="info in infoPage.content">
                    <h4>{{info.infoName.name}} : {{info.value}}
                    	<span ng-click="infosController.openEditInfoDialog(info)" class="glyphicon glyphicon-edit edit-icon clickable"></span>
                    	<span ng-click="infosController.openDeleteInfoDialog(info.id)" class="glyphicon glyphicon-remove delete-icon clickable"></span>
                    </h4>
<!--                       <button class="btn btn-danger" ng-controller="InfosController as infosController" ng-click="infosController.openDeleteInfoDialog(info.id)">Delete</button> -->
                </div>

                <span ng-hide="!currentUser || disableAddInfo" ng-click="infosController.openCreateInfoDialog()" class="glyphicon glyphicon-plus plus-icon clickable"></span>
                
</div>
